home *** CD-ROM | disk | FTP | other *** search
- glow = new flash.filters.GlowFilter(0,80,3,3,1,3,false,false);
- this.filters = [glow];
- vb = 0;
- Tblur = 3;
- blur = 3;
- this.onRollOver = function()
- {
- Tblur = 8;
- if(_root._currentframe == 1)
- {
- shoot();
- }
- };
- this.onRollOut = function()
- {
- Tblur = 3;
- };
- this.onPress = function()
- {
- Tblur = 5;
- };
- this.onReleaseOutside = function()
- {
- Tblur = 3;
- };
- this.onEnterFrame = function()
- {
- d = this.Tblur - this.blur;
- this.vb += d / 1.5;
- this.blur += vb;
- this.vb *= 0.5;
- this.glow.blurX = this.glow.blurY = this.blur;
- this.glow.strength = 2 / Math.sqrt(this.blur);
- _parent.internal.filters = [this.glow];
- _parent.internal._xscale = _parent.internal._yscale = 100 + blur - 4;
- };
-